The Principles Of Regenerative Braking Applied To Rolling Stock